package com.suoluo.zenadmin.service.home;

import java.util.List;
import java.util.Map;

import com.suoluo.zenadmin.common.JSONPageData;
import com.suoluo.zenadmin.vo.PageVO;
import com.suoluo.zenadmin.vo.dest.DestFeatureCategoryVO;
import com.suoluo.zenadmin.vo.home.HomeCategoryVO;
import com.suoluo.zenadmin.vo.home.HomeItemVO;

public interface HomeService {

	/**
	 * 查询首页类别集合
	 * @return
	 */
	public List<HomeCategoryVO> findListHomeCategory();
	
	public void saveHomeCategory(HomeCategoryVO categoryPOJO);
	
	public HomeCategoryVO findHomeCategoryById(int categoryId);
	
	public void updateHomeCategory(HomeCategoryVO categoryPOJO);
	
	public void deleteHomeCategory(int categoryId);
	/**
	 * 添加首页类别时查询目的地所有的特色父类别
	 * @return
	 */
	public List<DestFeatureCategoryVO> findListFeatureCategory();
	/**
	 * 查询首页勾选的类别项信息
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public List<Map> findListHomeCategoryItem(int categoryId);
	
	/**
	 * 首页勾选特色类别项集合
	 * @param featureCategoryId
	 * @return
	 */
	public JSONPageData findAddFeatureCategoryList(PageVO page,int featureCategoryId,String tempName);
	/**
	 * 保存勾选的首页特色类别项
	 * @param itemVO
	 */
	public void saveHomeCategoryItem(HomeItemVO itemVO);
	
	public List<HomeCategoryVO> findAllHomeData();
}
